package com.bien.springcloud.zuul.filter;

import com.netflix.zuul.ZuulFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class AccessRouteFilter extends ZuulFilter {
	private static Logger log = LoggerFactory.getLogger(AccessRouteFilter.class);

	@Override
	public String filterType() {
		return "route";
	}

	@Override
	public int filterOrder() {
		return 0;
	}

	@Override
	public boolean shouldFilter() {
		boolean flag = false;
		return flag;
	}

	@Override
	public Object run() {
		log.info("AccessRouteFilter run() enter....");
		return null;
	}

}
